<?php
form_pr('InvoiceCHG','','','post');
	$MSG[1] = 'Vai anular esta operação, indique o motivo.';
	$MSG[8] = 'Observacoes da Incidencia.';
	$MSG[16] = '';
	$MSG[11] = 'Observacoes do pagamento.';
	$MSG[18] = 'Observacoes do Cancelamento.';
	echo '<div style="padding:20px;text-align:center">'.$MSG[$_GET['NewFlg']].'</div>
    <div style="padding:20px;text-align:center">';
	mn_field('text','ED','Motivo','',255,'50','','');
	echo '</div>
    <div style="padding:20px;text-align:center">';
	mn_field('button','ED','edg_Submit','Confirmar','','','','" onClick="
		document.pp_frm.action=\'_response/call.php?get=Operative/remittance&OBJ=OR&ORST=1&Flg='.$_GET['ActID'].'&NewFlg='.$_GET['NewFlg'].'\';
		document.pp_frm.edg_Motivo.value=document.InvoiceCHG.Motivo.value;
		subform(\'pp_frm\',\'InvoiceStatus_Panel\');
		Ext.onReady(function(){
			Ext.getCmp(\'statwin\').close();
	 });');
	echo '</div>';